package com.xuecheng.content.model.dto;

import com.xuecheng.base.exception.ValidationGroups;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class EditCourseDto extends AddCourseDto{

    @NotNull(groups = {ValidationGroups.Update.class})
    @ApiModelProperty(value = "课程id", required = true)
    private Long id;
}
